package com.example.api.service.impl;

import com.example.api.dao.LoginLogDao;
import com.example.api.model.entity.LoginLog;
import com.example.api.service.LoginLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LoginLogServiceImpl implements LoginLogService {
    
    @Resource
    private LoginLogDao loginLogDao;
    
    @Override
    public List<LoginLog> findAll(String name) {
        return loginLogDao.findAll(name);
    }

}